mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Revent another unneeded change
This commit is contained in:
@@ -23,7 +23,7 @@ async function main() {
|
||||
// Generate local module
|
||||
const localDir = path.join("..", module);
|
||||
ensureDir(localDir);
|
||||
fs.writeFileSync(path.join(localDir, "index.d.ts"), `// TypeScript Version: 2.2\nimport { ${module} } from "../index";\nexport = ${module};`);
|
||||
fs.writeFileSync(path.join(localDir, "index.d.ts"), `import { ${module} } from "../index";\nexport = ${module};`);
|
||||
|
||||
// Generate non-local module
|
||||
if (!notOnNpm.has(module)) {
|
||||
|
||||
Reference in New Issue
Block a user