example passed CI after fixing errors from

pull/5693/head
TruongSinh Tran-Nguyen 5 years ago
parent 93d3979d5b
commit f8d4354954

@ -122,7 +122,7 @@ export function set_custom_element_data(node, prop, value) {
}
}
export function xlink_attr(node, attribute, value) {
export function xlink_attr(node: Element, attribute: string, value: string) {
node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);
}

@ -2,7 +2,7 @@ import { Readable } from 'svelte/store';
export function noop() {}
export const identity = x => x;
export const identity = <T>(x:T) => x;
export function assign<T, S>(tar: T, src: S): T & S {
// @ts-ignore

Loading…
Cancel
Save