Skip to content

Commit 405f434

Browse files
Use 'typescript' as declared module name for services.
1 parent 523c430 commit 405f434

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Jakefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,11 @@ compileFile(nodeDefinitionsFile, servicesSources,[builtLocalDirectory, copyright
316316

317317
// Create the node definition file by appending "export = ts;"
318318
jake.cpR(standaloneDefinitionsFile, nodeDefinitionsFile, {silent: true});
319-
fs.appendFileSync(nodeDefinitionsFile, os.EOL + "export = ts;");
319+
fs.appendFileSync(nodeDefinitionsFile,
320+
os.EOL +
321+
'declare module "typescript" {' + os.EOL +
322+
' export = ts;' + os.EOL +
323+
'}');
320324

321325
// Delete the temp dir
322326
jake.rmRf(tempDirPath, {silent: true});

0 commit comments

Comments
 (0)