DEV Community

Discussion on: Unhealthy Code: Null Checks Everywhere!

Collapse
 
mchmielarski profile image
Maciej

nice post! but one typo in examples

const myEmptyArray: string[] = EmptyArray.create<T>()

should be

const myEmptyArray: string[] = EmptyArray.create<string>()
Collapse
 
jamesmh profile image
James Hickey

Good catch! Thanks