mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 08:58:23 +08:00
Fix all day
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/// <reference path='angular-cookie.d.ts' />
|
||||
|
||||
angular.module('myApp', ['ipCookie'])
|
||||
|
||||
2
angular-cookie/angular-cookie.d.ts
vendored
2
angular-cookie/angular-cookie.d.ts
vendored
@@ -3,6 +3,8 @@
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
declare namespace angular.cookie {
|
||||
interface CookieService {
|
||||
/**
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Ken Fukuyama <https://github.com/kenfdev>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
declare namespace angular.local.storage {
|
||||
interface ILocalStorageServiceProvider extends angular.IServiceProvider {
|
||||
|
||||
1
angular-signalr-hub/angular-signalr-hub.d.ts
vendored
1
angular-signalr-hub/angular-signalr-hub.d.ts
vendored
@@ -4,6 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path='../signalr/signalr.d.ts' />
|
||||
/// <reference path='../angularjs/angularjs.d.ts' />
|
||||
|
||||
declare namespace ngSignalr {
|
||||
interface HubFactory {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
/// <reference path='angular-storage.d.ts' />
|
||||
|
||||
// Samples taken from the a0-angular-storage Readme.md
|
||||
|
||||
2
angular-storage/angular-storage.d.ts
vendored
2
angular-storage/angular-storage.d.ts
vendored
@@ -3,6 +3,8 @@
|
||||
// Definitions by: Matthew DeKrey <https://github.com/mdekrey>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
declare namespace angular.a0.storage {
|
||||
interface IStoreService extends INamespacedStoreService {
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
/// <reference path='angular-touchspin.d.ts' />
|
||||
/// <reference path="angular-touchspin.d.ts" />
|
||||
|
||||
angular
|
||||
.module('touchspin-tests', ['lm.touchspin'])
|
||||
|
||||
3
angular-touchspin/angular-touchspin.d.ts
vendored
3
angular-touchspin/angular-touchspin.d.ts
vendored
@@ -3,8 +3,7 @@
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
//// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
/// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
declare module "angular-touchspin" {
|
||||
let _: string;
|
||||
|
||||
1
angular-ui-tree/angular-ui-tree.d.ts
vendored
1
angular-ui-tree/angular-ui-tree.d.ts
vendored
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Calvin Fernandez <https://github.com/CalvinFernandez>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angularjs.d.ts" />
|
||||
|
||||
declare namespace AngularUITree {
|
||||
interface IEventSourceInfo {
|
||||
|
||||
3
basic-auth/index.d.ts
vendored
3
basic-auth/index.d.ts
vendored
@@ -3,8 +3,7 @@
|
||||
// Definitions by: Clément Bourgeois <https://github.com/moonpyk>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
import * as Express from 'express';
|
||||
|
||||
declare function auth(req: Express.Request): auth.BasicAuthResult;
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="change-case.d.ts"/>
|
||||
|
||||
import changeCase = require("change-case");
|
||||
|
||||
var s: string;
|
||||
|
||||
38
change-case/change-case.d.ts
vendored
38
change-case/change-case.d.ts
vendored
@@ -1,38 +0,0 @@
|
||||
// Type definitions for change-case
|
||||
// Project: https://github.com/blakeembrey/change-case
|
||||
// Definitions by: Asana <https://asana.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
declare function dot(s: string): string;
|
||||
declare function dotCase(s: string): string;
|
||||
declare function swap(s: string): string;
|
||||
declare function swapCase(s: string): string;
|
||||
declare function path(s: string): string;
|
||||
declare function pathCase(s: string): string;
|
||||
declare function upper(s: string): string;
|
||||
declare function upperCase(s: string): string;
|
||||
declare function lower(s: string): string;
|
||||
declare function lowerCase(s: string): string;
|
||||
declare function camel(s: string): string;
|
||||
declare function camelCase(s: string): string;
|
||||
declare function snake(s: string): string;
|
||||
declare function snakeCase(s: string): string;
|
||||
declare function title(s: string): string;
|
||||
declare function titleCase(s: string): string;
|
||||
declare function param(s: string): string;
|
||||
declare function paramCase(s: string): string;
|
||||
declare function pascal(s: string): string;
|
||||
declare function pascalCase(s: string): string;
|
||||
declare function constant(s: string): string;
|
||||
declare function constantCase(s: string): string;
|
||||
declare function sentence(s: string): string;
|
||||
declare function sentenceCase(s: string): string;
|
||||
declare function isUpper(s: string): boolean;
|
||||
declare function isUpperCase(s: string): boolean;
|
||||
declare function isLower(s: string): boolean;
|
||||
declare function isLowerCase(s: string): boolean;
|
||||
declare function ucFirst(s: string): string;
|
||||
declare function upperCaseFirst(s: string): string;
|
||||
declare function lcFirst(s: string): string;
|
||||
declare function lowerCaseFirst(s: string): string;
|
||||
37
change-case/index.d.ts
vendored
Normal file
37
change-case/index.d.ts
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
// Type definitions for change-case
|
||||
// Project: https://github.com/blakeembrey/change-case
|
||||
// Definitions by: Asana <https://asana.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export function dot(s: string): string;
|
||||
export function dotCase(s: string): string;
|
||||
export function swap(s: string): string;
|
||||
export function swapCase(s: string): string;
|
||||
export function path(s: string): string;
|
||||
export function pathCase(s: string): string;
|
||||
export function upper(s: string): string;
|
||||
export function upperCase(s: string): string;
|
||||
export function lower(s: string): string;
|
||||
export function lowerCase(s: string): string;
|
||||
export function camel(s: string): string;
|
||||
export function camelCase(s: string): string;
|
||||
export function snake(s: string): string;
|
||||
export function snakeCase(s: string): string;
|
||||
export function title(s: string): string;
|
||||
export function titleCase(s: string): string;
|
||||
export function param(s: string): string;
|
||||
export function paramCase(s: string): string;
|
||||
export function pascal(s: string): string;
|
||||
export function pascalCase(s: string): string;
|
||||
export function constant(s: string): string;
|
||||
export function constantCase(s: string): string;
|
||||
export function sentence(s: string): string;
|
||||
export function sentenceCase(s: string): string;
|
||||
export function isUpper(s: string): boolean;
|
||||
export function isUpperCase(s: string): boolean;
|
||||
export function isLower(s: string): boolean;
|
||||
export function isLowerCase(s: string): boolean;
|
||||
export function ucFirst(s: string): string;
|
||||
export function upperCaseFirst(s: string): string;
|
||||
export function lcFirst(s: string): string;
|
||||
export function lowerCaseFirst(s: string): string;
|
||||
@@ -1,7 +1,7 @@
|
||||
/// <reference path="cldr.js.d.ts" />
|
||||
/// <reference path="cldr.js-supplemental.d.ts" />
|
||||
|
||||
const cldr = new Cldr("en");
|
||||
const myCldr = new Cldr("en");
|
||||
|
||||
const supplemental = cldr.supplemental;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="cldr.js.d.ts" />
|
||||
/// <reference path="index.d.ts" />
|
||||
|
||||
Cldr.load({
|
||||
"main": {
|
||||
|
||||
11
cldrjs/cldr.js.d.ts → cldrjs/index.d.ts
vendored
11
cldrjs/cldr.js.d.ts → cldrjs/index.d.ts
vendored
@@ -3,6 +3,11 @@
|
||||
// Definitions by: Raman But-Husaim <https://github.com/RamanBut-Husaim>, Grégoire Castre <https://github.com/gcastre/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export = self;
|
||||
export as namespace Cldr;
|
||||
|
||||
declare var self: cldr.CldrFactory;
|
||||
|
||||
declare namespace cldr {
|
||||
/**
|
||||
* @name Attributes
|
||||
@@ -251,9 +256,3 @@ declare namespace cldr {
|
||||
localeSep: "-" | "_";
|
||||
}
|
||||
}
|
||||
|
||||
declare module "cldr" {
|
||||
export = cldr;
|
||||
}
|
||||
|
||||
declare var Cldr: cldr.CldrFactory;
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"files": ["index.d.ts", "cldr.js-tests.ts"],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
|
||||
Reference in New Issue
Block a user