refactor(types): mark internal API exports and exclude from d.ts
BREAKING CHANGE: Internal APIs are now excluded from type decalrations.
This commit is contained in:
@@ -417,7 +417,11 @@ type CompileFunction = (
|
||||
|
||||
let compile: CompileFunction | undefined
|
||||
|
||||
// exported method uses any to avoid d.ts relying on the compiler types.
|
||||
/**
|
||||
* For runtime-dom to register the compiler.
|
||||
* Note the exported method uses any to avoid d.ts relying on the compiler types.
|
||||
* @internal
|
||||
*/
|
||||
export function registerRuntimeCompiler(_compile: any) {
|
||||
compile = _compile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user