Skip to content

Commit 9513d2b

Browse files
committed
Converted from typings to @types
1 parent 56ff6be commit 9513d2b

File tree

8 files changed

+5
-28
lines changed

8 files changed

+5
-28
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
],
1010
"types": "./lib/src/index.d.ts",
1111
"devDependencies": {
12-
"typescript": "^2.0",
12+
"@types/superagent": "^2.0.36",
13+
"@types/mocha": "^2.2.34",
1314
"browserify": "^13.1.0",
14-
"mocha": "^3.0.2",
15-
"typings": "^2.0.0"
15+
"mocha": "^3.2.0",
16+
"typescript": "^2.1"
1617
},
1718
"scripts": {
18-
"prepublish": "typings install",
1919
"build": "tsc && node node-browserify.js > lib/graph-js-sdk-web.js",
2020
"test": "mocha lib/test"
2121
},

src/GraphRequest.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
31
import {Options, URLComponents, GraphError, oDataQueryNames, GraphRequestCallback} from "./common"
42
import * as request from 'superagent';
53

src/common.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
31
export const oDataQueryNames = ["$select", "$expand", "$orderby", "$filter", "$top", "$skip", "$skipToken", "$count"];
42
export const DEFAULT_VERSION = "v1.0";
53
export const GRAPH_BASE_URL = "https://graph.microsoft.com/";

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
'use strict';
3-
41
import * as request from 'superagent';
52

63
import {Options, DEFAULT_VERSION, GRAPH_BASE_URL} from "./common"

test/responseHandling.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
31
import {ResponseHandler} from "../src/ResponseHandler"
42
import {GraphError} from '../src/common'
3+
import * as mocha from 'mocha'
54

65
import * as assert from 'assert';
76

test/urlGeneration.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
31
import * as assert from 'assert';
42

53
import {Client as GraphClient} from "../src/index"

test/urlParsing.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference path="../typings/index.d.ts" />
2-
31
import * as assert from 'assert';
42

53
import {Client as GraphClient} from "../src/index"

typings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)