Comparing version 4.0.0-beta.0 to 4.0.0-beta.1
import * as tsc from 'typescript'; | ||
declare type RecursivePartial<T> = { | ||
[P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P]; | ||
}; | ||
export declare enum LoadMode { | ||
@@ -21,2 +24,3 @@ Transpile = "transpile", | ||
} | ||
export declare type LoadOptions = LoadTranspileOptions | LoadCompileOptions; | ||
export declare type LoadOptions = RecursivePartial<LoadTranspileOptions | LoadCompileOptions>; | ||
export {}; |
@@ -5,4 +5,4 @@ import { LoadMode, LoadOptions } from './load.interfaces'; | ||
}; | ||
export declare const load: (tsRelativePath: string, options?: Partial<LoadOptions>) => Promise<any>; | ||
export declare const loadSync: (tsRelativePath: string, options?: Partial<LoadOptions>) => any; | ||
export declare const load: (tsRelativePath: string, options?: LoadOptions) => Promise<any>; | ||
export declare const loadSync: (tsRelativePath: string, options?: LoadOptions) => any; | ||
export * from './load.interfaces'; |
{ | ||
"name": "ts-import", | ||
"version": "4.0.0-beta.0", | ||
"version": "4.0.0-beta.1", | ||
"description": "Import (compile and cache on the fly) TypeScript files dynamically with ease.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
56417
369
0