-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f982e4
commit b38b637
Showing
8 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
/** | ||
* The function takes a file path as input, checks if it is a TypeScript file, converts the TypeScript | ||
* code to JavaScript, and then imports and returns the default export of the JavaScript file. | ||
* @param {string} Path - The `Path` parameter is a string that represents the file path of the file | ||
* you want to process. | ||
* @returns the default export of the module that is imported using the provided `Path`. | ||
*/ | ||
declare const _default: (Path: string) => Promise<any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
/** | ||
* The function `JSON` is a TypeScript function that reads a JSON file and returns its parsed content. | ||
* @param {string} File - The `File` parameter is a string that represents the name or path of the JSON | ||
* file that you want to parse. | ||
* @param {string} From - The `From` parameter is a string that represents the source URL or file path | ||
* from which the JSON file will be loaded. It is set to `import.meta.url` by default, which refers to | ||
* the URL of the current module. However, if a different source URL or file path is provided, | ||
*/ | ||
declare const _default: (File: string, From?: string) => Promise<any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters