mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
remove some errors
This commit is contained in:
+4
-2
@@ -22,10 +22,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"dtslint": "github:Microsoft/dtslint#production",
|
||||
"types-publisher": "Microsoft/types-publisher#production"
|
||||
"types-publisher": "Microsoft/types-publisher#production",
|
||||
"typescript": "^2.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/jquery": "^3.2.16",
|
||||
"jquery": "^3.2.1"
|
||||
"jquery": "^3.1.1",
|
||||
"typescript": "^2.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
import * as $ from 'jquery';
|
||||
|
||||
|
||||
namespace server {
|
||||
export interface Iperson {
|
||||
title: string,
|
||||
|
||||
Vendored
+5
-3
@@ -3,13 +3,14 @@
|
||||
// Definitions by: Alli Pierre Yotti <https://github.com/allipierre>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="jquery"/>
|
||||
|
||||
interface JQueryStatic {
|
||||
interface JQueryStatic {
|
||||
/**
|
||||
* confirm Dialog
|
||||
* @param {confirmOptions} pOtions
|
||||
*/
|
||||
confirm( pOtions: options.confirmOptions | string, title?:string): boolean | void | HTMLElement | any;
|
||||
confirm( pOtions: options.confirmOptions | string, title?:string): boolean | void | HTMLElement | any;
|
||||
|
||||
/**
|
||||
* confirm alert
|
||||
@@ -26,7 +27,7 @@ interface JQueryStatic {
|
||||
}
|
||||
|
||||
|
||||
interface JQuery {
|
||||
interface JQuery {
|
||||
/**
|
||||
* confirm Dialog
|
||||
* @param {confirmOptions} pOtions
|
||||
@@ -52,6 +53,7 @@ interface Window {
|
||||
|
||||
|
||||
|
||||
|
||||
declare namespace options {
|
||||
|
||||
interface confirmOptions {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
|
||||
@@ -1 +1,31 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"rules": {
|
||||
"max-line-length": {
|
||||
"options": [
|
||||
120
|
||||
]
|
||||
},
|
||||
"new-parens": true,
|
||||
"no-arg": true,
|
||||
"no-bitwise": true,
|
||||
"no-conditional-assignment": true,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-console": {
|
||||
"options": [
|
||||
"debug",
|
||||
"info",
|
||||
"log",
|
||||
"time",
|
||||
"timeEnd",
|
||||
"trace"
|
||||
]
|
||||
}
|
||||
},
|
||||
"jsRules": {
|
||||
"max-line-length": {
|
||||
"options": [
|
||||
120
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user