mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Convert some things to index.d.ts and use 'types' references
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
/// <reference types="angularjs" />
|
||||
|
||||
declare namespace angular.featureflags {
|
||||
export interface FlagData {
|
||||
|
||||
2
busboy/busboy.d.ts
vendored
2
busboy/busboy.d.ts
vendored
@@ -2,7 +2,7 @@
|
||||
// Project: https://www.npmjs.com/package/busboy
|
||||
// Definitions by: Jacob Baskin <https://github.com/jacobbaskin>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference types="node" />
|
||||
|
||||
declare namespace busboy {
|
||||
interface Options {
|
||||
|
||||
2
d3-tip/d3-tip.d.ts → d3-tip/index.d.ts
vendored
2
d3-tip/d3-tip.d.ts → d3-tip/index.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Gert Braspenning <https://github.com/brspnnggrt>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../d3/d3.d.ts" />
|
||||
/// <reference types="d3" />
|
||||
|
||||
declare namespace d3 {
|
||||
type TooltipDirection = ("n" | "s" | "e" | "w" | "nw" | "ne" | "sw" | "se");
|
||||
19
d3-tip/tsconfig.json
Normal file
19
d3-tip/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"d3-tip-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Jeffery Grajkowski <https://github.com/pushplay/>
|
||||
// Definitions: https://github.com/psnider/DefinitelyTyped/imap-simple
|
||||
|
||||
/// <reference path="../imap/imap.d.ts" />
|
||||
/// <reference types="imap" />
|
||||
|
||||
declare namespace IMAPS {
|
||||
|
||||
19
imap-simple/tsconfig.json
Normal file
19
imap-simple/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"imap-simple-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
node locutus_print.js define
|
||||
*/
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference types="node" />
|
||||
/// <reference path="./locutus.d.ts" />
|
||||
|
||||
var locutus = require('locutus');
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Dominik Bruderer <https://github.com/dobrud>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../geojson/geojson.d.ts" />
|
||||
/// <reference types="geojson" />
|
||||
|
||||
declare namespace mapboxgl {
|
||||
let accessToken: string;
|
||||
@@ -462,7 +462,7 @@ declare namespace mapboxgl {
|
||||
*/
|
||||
export class VideoSource implements Source, VideoSourceOptions {
|
||||
type: "video";
|
||||
|
||||
|
||||
constructor(options?: mapboxgl.VideoSourceOptions);
|
||||
|
||||
getVideo(): HTMLVideoElement;
|
||||
19
mapbox-gl/tsconfig.json
Normal file
19
mapbox-gl/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"mapbox-gl-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user