|
|
@@ -33,6 +33,17 @@ declare module 'file-saver' {
|
|
|
export function saveAs(blob: any, name: any): void
|
|
|
}
|
|
|
|
|
|
+declare module 'estree-walker' {
|
|
|
+ export function walk<T>(
|
|
|
+ root: T,
|
|
|
+ options: {
|
|
|
+ enter?: (node: T, parent: T | undefined) => any
|
|
|
+ leave?: (node: T, parent: T | undefined) => any
|
|
|
+ exit?: (node: T) => any
|
|
|
+ } & ThisType<{ skip: () => void }>
|
|
|
+ )
|
|
|
+}
|
|
|
+
|
|
|
declare interface String {
|
|
|
/**
|
|
|
* @deprecated Please use String.prototype.slice instead of String.prototype.substring in the repository.
|