mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Move all packages to a types directory
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
deferredBootstrapper.bootstrap(
|
||||
{
|
||||
element: window.document,
|
||||
module: "myApp",
|
||||
resolve: {
|
||||
configuration: ["$http", ($http: ng.IHttpService) => $http.get("config.json")]
|
||||
}
|
||||
});
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Type definitions for angular-deferred-bootstrap v0.1.9
|
||||
// Project: https://github.com/philippd/angular-deferred-bootstrap
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="angular" />
|
||||
|
||||
declare var deferredBootstrapper: angular.IDeferredBootstrapperStatic;
|
||||
|
||||
declare module angular {
|
||||
interface IDeferredBootstrapperStatic {
|
||||
bootstrap(configParam: IConfigParam): ng.IPromise<boolean>
|
||||
}
|
||||
|
||||
interface IConfigParam {
|
||||
element?: Node,
|
||||
module?: string,
|
||||
resolve: any
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"angular-deferred-bootstrap-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user