angular-docs-cn/modules/http/http_sfx.ts

4 lines
66 B
TypeScript

import * as ngHttp from './http';
(<any>window).ngHttp = ngHttp;