X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Ftslint%2Flib%2Flanguage%2Fformatter%2FabstractFormatter.d.ts;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Ftslint%2Flib%2Flanguage%2Fformatter%2FabstractFormatter.d.ts;h=3cf1dbbb74211419cfa034b115d4fa7c6e56f495;hb=3aba54c891969552833dbc350b3139e944e17a97;hp=0000000000000000000000000000000000000000;hpb=1def8ecce8e6f3aa32e6978d0ba7846a99b8de34;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/tslint/lib/language/formatter/abstractFormatter.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/tslint/lib/language/formatter/abstractFormatter.d.ts new file mode 100644 index 00000000..3cf1dbbb --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/tslint/lib/language/formatter/abstractFormatter.d.ts @@ -0,0 +1,23 @@ +/** + * @license + * Copyright 2013 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. + */ +import { RuleFailure } from "../rule/rule"; +import { IFormatter, IFormatterMetadata } from "./formatter"; +export declare abstract class AbstractFormatter implements IFormatter { + static metadata: IFormatterMetadata; + abstract format(failures: RuleFailure[], fixes?: RuleFailure[], fileNames?: string[]): string; + protected sortFailures(failures: RuleFailure[]): RuleFailure[]; +}