types: setup tests for built d.ts files

This commit is contained in:
Evan You
2019-11-01 22:54:01 -04:00
parent 7b7b8ef221
commit 66ecd8b47f
14 changed files with 458 additions and 55 deletions

View File

@@ -342,7 +342,8 @@ type CompileFunction = (
let compile: CompileFunction | undefined
export function registerRuntimeCompiler(_compile: CompileFunction) {
// exported method uses any to avoid d.ts relying on the compiler types.
export function registerRuntimeCompiler(_compile: any) {
compile = _compile
}