fix: add missing `walk` type in compiler.d.ts (#5696)

pull/7738/head
Wei Zhu 5 years ago committed by GitHub
parent 27aff7e562
commit 1f581c2c5a

@ -20,7 +20,7 @@ const ts_plugin = is_publish
const external = id => id.startsWith('svelte/'); const external = id => id.startsWith('svelte/');
fs.writeFileSync(`./compiler.d.ts`, `export { compile, parse, preprocess, VERSION } from './types/compiler/index';`); fs.writeFileSync(`./compiler.d.ts`, `export { compile, parse, preprocess, walk, VERSION } from './types/compiler/index';`);
export default [ export default [
/* runtime */ /* runtime */

Loading…
Cancel
Save