mirror of
https://github.com/Redocly/redoc.git
synced 2025-03-11 05:15:46 +03:00
6 lines
231 B
TypeScript
6 lines
231 B
TypeScript
|
export * from './open-api';
|
||
|
|
||
|
export type Diff<T extends string, U extends string> = ({ [P in T]: P } &
|
||
|
{ [P in U]: never } & { [x: string]: never })[T];
|
||
|
export type Omit<T, K extends keyof T> = { [P in Diff<keyof T, K>]: T[P] };
|