From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/tslint/lib/utils.d.ts | 62 -------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 node_modules/tslint/lib/utils.d.ts (limited to 'node_modules/tslint/lib/utils.d.ts') diff --git a/node_modules/tslint/lib/utils.d.ts b/node_modules/tslint/lib/utils.d.ts deleted file mode 100644 index 9d7aa545e..000000000 --- a/node_modules/tslint/lib/utils.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @license - * Copyright 2016 Palantir Technologies, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/// -/** - * Enforces the invariant that the input is an array. - */ -export declare function arrayify(arg?: T | T[]): T[]; -/** - * @deprecated (no longer used) - * Enforces the invariant that the input is an object. - */ -export declare function objectify(arg: any): any; -export declare function hasOwnProperty(arg: {}, key: string): boolean; -/** - * Replace hyphens in a rule name by upper-casing the letter after them. - * E.g. "foo-bar" -> "fooBar" - */ -export declare function camelize(stringWithHyphens: string): string; -export declare function isUpperCase(str: string): boolean; -export declare function isLowerCase(str: string): boolean; -/** - * Removes leading indents from a template string without removing all leading whitespace - */ -export declare function dedent(strings: TemplateStringsArray, ...values: any[]): string; -/** - * Strip comments from file content. - */ -export declare function stripComments(content: string): string; -/** - * Escapes all special characters in RegExp pattern to avoid broken regular expressions and ensure proper matches - */ -export declare function escapeRegExp(re: string): string; -/** Return true if both parameters are equal. */ -export declare type Equal = (a: T, b: T) => boolean; -export declare function arraysAreEqual(a: ReadonlyArray | undefined, b: ReadonlyArray | undefined, eq: Equal): boolean; -/** Returns the first non-`undefined` result. */ -export declare function find(inputs: T[], getResult: (t: T) => U | undefined): U | undefined; -/** Returns an array that is the concatenation of all output arrays. */ -export declare function flatMap(inputs: ReadonlyArray, getOutputs: (input: T, index: number) => ReadonlyArray): U[]; -/** Returns an array of all outputs that are not `undefined`. */ -export declare function mapDefined(inputs: ReadonlyArray, getOutput: (input: T) => U | undefined): U[]; -export declare function readBufferWithDetectedEncoding(buffer: Buffer): string; -export declare type Encoding = "utf8" | "utf8-bom" | "utf16le" | "utf16be"; -export declare function detectBufferEncoding(buffer: Buffer, length?: number): Encoding; -export declare function denormalizeWinPath(path: string): string; -export declare function isPascalCased(name: string): boolean; -export declare function isCamelCased(name: string): boolean; -export declare function isKebabCased(name: string): boolean; -- cgit v1.2.3