[@types/lodash] Fix development scripts in types/lodash/scripts (#41856)

* Move shebang to the first line and add permission to execute the file

* Fix types/lodash/scripts/generate-modules.ts to generate files same to the commited ones
This commit is contained in:
Yuichiro Tsuchiya
2020-01-30 13:12:02 -08:00
committed by GitHub
parent 9ad9bdfbc7
commit 8ee889684b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# If some one want to update lodash modules, you must run this script under the same dir where it lives.
# Or you can run them(generate-modules.ts) separately by hand
#!/usr/bin/env bash
npm i ts-node -g
+1 -1
View File
@@ -53,7 +53,7 @@ async function globalDefinitionText(moduleName: string): Promise<string> {
return `
// Type definitions for ${fullName} ${majorMinor}
// Project: http://lodash.com/
// Project: https://lodash.com
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8