Fix all day

This commit is contained in:
Ryan Cavanaugh
2016-05-09 10:07:01 -07:00
parent 4886a6ac95
commit a8fbe5653f
17 changed files with 55 additions and 56 deletions

View File

@@ -1,4 +1,3 @@
/// <reference path='angular-cookie.d.ts' />
angular.module('myApp', ['ipCookie'])

View File

@@ -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 {
/**

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -1,4 +1,3 @@
/// <reference path='angular-storage.d.ts' />
// Samples taken from the a0-angular-storage Readme.md

View File

@@ -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 {
/**

View File

@@ -1,5 +1,4 @@
/// <reference path='angular-touchspin.d.ts' />
/// <reference path="angular-touchspin.d.ts" />
angular
.module('touchspin-tests', ['lm.touchspin'])

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -1,5 +1,3 @@
/// <reference path="change-case.d.ts"/>
import changeCase = require("change-case");
var s: string;

View File

@@ -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
View 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;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
/// <reference path="cldr.js.d.ts" />
/// <reference path="index.d.ts" />
Cldr.load({
"main": {

View File

@@ -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;

View File

@@ -1,4 +1,5 @@
{
"files": ["index.d.ts", "cldr.js-tests.ts"],
"compilerOptions": {
"module": "commonjs",
"target": "es6",