sp-dev-fx-webparts/samples/angular-ngofficeuifabric-fi.../typings/@ms/odsp-webpack.d.ts

13 lines
538 B
TypeScript
Raw Normal View History

2016-11-24 01:53:25 -05:00
// Type definitions for webpack in Microsoft ODSP projects
// Project: ODSP-WEBPACK
/*
* This definition of webpack require overrides all other definitions of require in our toolchain
* Make sure all other definitions of require are commented out e.g. in node.d.ts
*/
declare var require: {
(path: string): any;
(paths: string[], callback: (...modules: any[]) => void): void;
resolve: (id: string) => string;
ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void, path: string) => void;
};