const arr = []; // const arr: never[] arr.push('hi'); // Argument of type 'string' is not assignable to parameter of type 'never'.
이렇게 되면 배열을 사용할 수 없으므로 직접 타입을 표기해야 합니다.
const arr: string[] = []; arr.push('hi');