mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[@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:
Regular → Executable
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user