mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-08 05:58:36 +00:00
c909db5b4d
* [react-mobx] scaffold project + migrate to drop5 * [react-mobx] install mobx dependencies * [react-mobx] configure reactive and nonreactive webpart version * [react-mobx] add presentational and container components * [react-mobx] Replace description field with name * [react-mobx] Add mobx store and hook up webpart & components * [react-mobx] update readme * [react-mobx] remove custom tslint.config * [react-mobx] only render the webpart once
13 lines
538 B
TypeScript
13 lines
538 B
TypeScript
// 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;
|
|
}; |