Code snippets that generate useful types in typescript. Simply type the prefix and the intellisense will display the type. Press tab and enjoy!
All types names:
- VerifyNumberIsPositive<Number>
- RangeTuple<Number>
- Sum<FirstNumber, SecondNumber>
- BuildTuple<Length>
- MinusOne<Number>
- NonEmptyArray<Type>
- GetStringLength<String>
- CheckStringLength<String, Length>
- GetArrayType<Array>
- FilterObjectByType<Obj, Type>
- NonEmptyObject<Obj>
- OptionalKeys<Obj, Keys>
- GetCharacters<String>
- ToNumber<Type>
- GetNumberIndexes<Type>
- AnyRecordObject<>
- AnyMappedObject<>
- DeepPartial<Type>