mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
@typescript-eslint/prefer-interface
This commit is contained in:
+5
-3
@@ -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