Skip to content

Instantly share code, notes, and snippets.

@hvoecking
Created December 11, 2018 16:27
Show Gist options
  • Save hvoecking/8a461b62b8346448a6b1dad56f78d21a to your computer and use it in GitHub Desktop.
Save hvoecking/8a461b62b8346448a6b1dad56f78d21a to your computer and use it in GitHub Desktop.
interface RequireContext {
keys(): string[];
(id: string): {};
}
interface RequireFunction {
context: (path: string, deep?: boolean, filter?: RegExp) => RequireContext;
}
declare var require: RequireFunction;
@babtsoualiaksandr
Copy link

Спасибо!! за подсказку!! Помогло

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment