fix ts errors

pull/5269/head
Tan Li Hau 5 years ago
parent f6fbea7a42
commit 61a09bf1f2

@ -1,4 +1,3 @@
import { assign } from '../../runtime/internal/utils';
import Stats from '../Stats';
import parse from '../parse/index';
import render_dom from './render_dom/index';
@ -68,7 +67,7 @@ function validate_options(options: CompileOptions, warnings: Warning[]) {
}
export default function compile(source: string, options: CompileOptions = {}) {
options = assign({ generate: 'dom', dev: false }, options);
options = Object.assign({ generate: 'dom', dev: false }, options);
const stats = new Stats();
const warnings = [];

@ -1,4 +1,4 @@
import { Readable } from "../store";
import { Readable } from "svelte/store";
export function noop() {}

Loading…
Cancel
Save