mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-20 10:29:36 -06:00
@typescript-eslint/prefer-interface
This commit is contained in:
parent
3fb48d3f24
commit
afb5c9bfcf
@ -43,7 +43,7 @@
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
"@typescript-eslint/prefer-for-of": "error",
|
||||
"@typescript-eslint/prefer-function-type": "off",
|
||||
"@typescript-eslint/prefer-interface": "off",
|
||||
"@typescript-eslint/prefer-interface": "error",
|
||||
"@typescript-eslint/prefer-namespace-keyword": "off",
|
||||
"semi": "off",
|
||||
"@typescript-eslint/semi": "error",
|
||||
|
||||
@ -2,15 +2,17 @@ import fs = require('fs');
|
||||
import path = require('path');
|
||||
import child_process = require("child_process");
|
||||
|
||||
type Author = {
|
||||
interface Author {
|
||||
displayNames: string[];
|
||||
preferredName?: string;
|
||||
emails: string[];
|
||||
};
|
||||
|
||||
type AuthorMap = { [s: string]: Author };
|
||||
interface AuthorMap {
|
||||
[s: string]: Author
|
||||
};
|
||||
|
||||
type Command = {
|
||||
interface Command {
|
||||
(...arg: string[]): void;
|
||||
description?: string;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user