typescript-expert
Provides expert guidance on TypeScript, covering types, generics, and best practices for safe, maintainable code.
Install this skill
Security score
The typescript-expert skill was audited on May 18, 2026 and we found 8 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 136 | [K in keyof T as `get${Capitalize<string & K>}`]: () => T[K]; |
Template literal with variable interpolation in command context
| 144 | type EventName<T extends string> = `on${Capitalize<T>}`; |
Template literal with variable interpolation in command context
| 149 | T extends `${string}:${infer P}/${string}` |
Template literal with variable interpolation in command context
| 150 | ? P | RouteParam<`${string}/${string}`> |
Template literal with variable interpolation in command context
| 151 | : T extends `${string}:${infer P}` |
Template literal with variable interpolation in command context
| 194 | case "success": return `Data: ${JSON.stringify(state.data)}`; // data is T |
Template literal with variable interpolation in command context
| 195 | case "error": return `Error: ${state.error.message}`; // error is Error |
Template literal with variable interpolation in command context
| 234 | throw new TypeError(`Expected string, got ${typeof val}`); |