[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

chore: remove unused ts-ignores (#461)

authored by

James Garbutt and committed by
GitHub
(Feb 7, 2026, 4:56 PM UTC) de1fc4c2 0ded19ce

+2 -8
+2 -8
packages/core/test/utils.test.ts
··· 14 14 test('clears output on keypress', () => { 15 15 const input = new MockReadable(); 16 16 const output = new MockWritable(); 17 - // @ts-ignore 18 17 const callback = block({ input, output }); 19 18 20 19 const event: Key = { ··· 29 28 test('clears output vertically when return pressed', () => { 30 29 const input = new MockReadable(); 31 30 const output = new MockWritable(); 32 - // @ts-ignore 33 31 const callback = block({ input, output }); 34 32 35 33 const event: Key = { ··· 44 42 test('ignores additional keypresses after dispose', () => { 45 43 const input = new MockReadable(); 46 44 const output = new MockWritable(); 47 - // @ts-ignore 48 45 const callback = block({ input, output }); 49 46 50 47 const event: Key = { ··· 61 58 const input = new MockReadable(); 62 59 const output = new MockWritable(); 63 60 // purposely don't keep the callback since we would exit the process 64 - // @ts-ignore 65 61 block({ input, output }); 66 - // @ts-ignore 67 - const spy = vi.spyOn(process, 'exit').mockImplementation(() => { 62 + const spy = vi.spyOn(process, 'exit').mockImplementation((() => { 68 63 return; 69 - }); 64 + }) as () => never); 70 65 71 66 const event: Key = { 72 67 name: 'c', ··· 80 75 test('does not clear if overwrite=false', () => { 81 76 const input = new MockReadable(); 82 77 const output = new MockWritable(); 83 - // @ts-ignore 84 78 const callback = block({ input, output, overwrite: false }); 85 79 86 80 const event: Key = {