- simple types via method parameters;
kata1.test.ts
- number, string, boolean, any
- object types
- optional fields
-
enum
- function types
-
interface
-
extend
another type - types that
omit
a field from another typeexport type WithoutId<T extends HasId> = Omit<T, "id">;
- whatever this is:
export type LabelsFor<T> = { [key in keyof T]: T[key] extends object ? LabelsFor<T[key]> : string | LabelDefinition | null }
-
Notifications
You must be signed in to change notification settings - Fork 0
whatjakecodes/typescript-katas
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published