UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

10 lines (9 loc) • 199 B
id: no-any-type valid: - 'const x: string = "hi"' - 'const x: unknown = foo()' - 'const x: number = 1' invalid: - 'const x: any = foo()' - 'function f(x: any) {}' - 'const x: any[] = []'