tslint changes

This commit is contained in:
Jeremy Simpson
2019-08-30 01:52:40 -07:00
parent 7603879d35
commit 7f7efbb94b
446 changed files with 70650 additions and 70661 deletions
+1
View File
@@ -4,5 +4,6 @@ node_modules/
/build-copy/ /build-copy/
/logs/ /logs/
/settings/ /settings/
.idea/
/config.json /config.json
File diff suppressed because one or more lines are too long
-1
View File
@@ -3475,4 +3475,3 @@ export const head1 = [
undefined, undefined,
[[0, 1, 3, 5, 6, 8, 9, 11, 12, 13, 15, 17, 18, 19].map(i => head[1]![0]![i])], [[0, 1, 3, 5, 6, 8, 9, 11, 12, 13, 15, 17, 18, 19].map(i => head[1]![0]![i])],
]; ];
+1 -1
View File
@@ -15,7 +15,7 @@ interface NodeStaticImage {
new(width?: number, height?: number): NodeCanvasImage; new(width?: number, height?: number): NodeCanvasImage;
} }
declare module "canvas" { declare module 'canvas' {
export function createCanvas(width: number, height: number): HTMLCanvasElement; export function createCanvas(width: number, height: number): HTMLCanvasElement;
export type Canvas = HTMLCanvasElement; export type Canvas = HTMLCanvasElement;
export const Image: NodeStaticImage; export const Image: NodeStaticImage;
+1 -1
View File
@@ -1,5 +1,5 @@
interface HTMLCanvasElement { interface HTMLCanvasElement {
getContext(contextId: "webgl2", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null; getContext(contextId: 'webgl2', contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null;
} }
interface WebGLRenderingContext { interface WebGLRenderingContext {
+1 -1
View File
@@ -1,4 +1,4 @@
declare module "fs" { declare module 'fs' {
import * as Promise from "bluebird"; import * as Promise from "bluebird";
export function writeFileAsync(filename: string, data: any): Promise<void>; export function writeFileAsync(filename: string, data: any): Promise<void>;
+4
View File
@@ -40,7 +40,9 @@ declare module 'patreon' {
export interface PatreonClient { export interface PatreonClient {
(pathname: string): Promise<PatronData>; (pathname: string): Promise<PatronData>;
getStore(): any; getStore(): any;
setStore(store: { sync: () => void }): void; setStore(store: { sync: () => void }): void;
} }
@@ -54,9 +56,11 @@ declare module 'patreon' {
export interface PatreonOAuthClient { export interface PatreonOAuthClient {
getTokens(redirectCode: string, redirectUri: string): Promise<PatreonTokens>; getTokens(redirectCode: string, redirectUri: string): Promise<PatreonTokens>;
refreshToken(refreshToken: string): Promise<any>; refreshToken(refreshToken: string): Promise<any>;
} }
export function patreon(accessToken: string): PatreonClient; export function patreon(accessToken: string): PatreonClient;
export function oauth(clientId: string, clientSecret: string): PatreonOAuthClient; export function oauth(clientId: string, clientSecret: string): PatreonOAuthClient;
} }
+4 -3
View File
@@ -10,7 +10,8 @@
"forin": true, "forin": true,
"indent": [ "indent": [
true, true,
"tabs" "spaces",
2
], ],
"label-position": true, "label-position": true,
"no-arg": true, "no-arg": true,
@@ -36,11 +37,11 @@
"no-trailing-whitespace": true, "no-trailing-whitespace": true,
"linebreak-style": [ "linebreak-style": [
true, true,
"CRLF" "LF"
], ],
"max-line-length": [ "max-line-length": [
true, true,
130 140
], ],
"one-line": [ "one-line": [
true, true,