mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
@typescript-eslint/prefer-interface
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user