Remove some unused types (#550)
This commit is contained in:
Родитель
96de03678a
Коммит
bf53463205
|
@ -3,8 +3,6 @@ import glob from "glob";
|
|||
import prettier from "prettier";
|
||||
import * as adlPrettierPlugin from "../formatter/index.js";
|
||||
|
||||
export class ADLPrettierPluginNotFound extends Error {}
|
||||
|
||||
export async function formatADL(code: string): Promise<string> {
|
||||
const output = prettier.format(code, {
|
||||
parser: "adl",
|
||||
|
|
|
@ -8,13 +8,3 @@ export type PrettierChildPrint = (path: FastPath<Node>, index?: number) => Doc;
|
|||
export interface DecorableNode {
|
||||
decorators: DecoratorExpressionNode[];
|
||||
}
|
||||
|
||||
type Union =
|
||||
| { foo: string }
|
||||
| { bar: string }
|
||||
| { bar: string }
|
||||
| { bar: string }
|
||||
| { bar: string };
|
||||
type Inter = { foo: string } & { bar: string } & { bar: string } & { bar: string } & {
|
||||
bar: string;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче