mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
7 lines
255 B
TypeScript
7 lines
255 B
TypeScript
/**
|
|
* Helps sanitize a module name if it is prefixed with '~/', '~' or '/'
|
|
* @param moduleName the name
|
|
* @param removeExtension whether to remove extension
|
|
*/
|
|
export function sanitizeModuleName(moduleName: string, removeExtension?: boolean): string;
|