Replace your TypeScript `any` with `Meow` — for peace and mental health.
npm install @stonefishbear/meow-types> Replace any with Meow — for peace, for clarity, for mental health.
> Brought to you by Heizi, a developer's cat who meowed back at the abyss of type inference.
TypeScript is powerful. Too powerful, sometimes.
You start with:
- "Type 'undefined' is not assignable to type..."
- "Type '{}' is not assignable to type 'User'"
- "Argument of type 'X' is not assignable to parameter of type 'Y'"
Then, you snap. You type any.
And it works. But it feels… wrong.
That’s where Meow comes in.
It’s still any.
But it purrs.
``bash`
npm install @stonefishbear/meow-typesor
pnpm add @stonefishbear/meow-types
`ts
import type { Meow } from '@stonefishbear/meow-types';
function process(data: Meow) {
// no more red squiggles. inner peace restored.
}
`
Need a more serious lie?
`ts
import type { DefinitelyNotAny } from '@stonefishbear/meow-types';
type APIResponse = DefinitelyNotAny;
`
- Don’t fear any. Rename it. Take control.Meow
- Don’t fight TypeScript. Purr at it.
- Don’t burn out. Use .
This package won’t fix your types.
But it might fix your week.
Pull requests are welcome — but only if they contain a meaningful amount of Meow.
Recommended PR types:
- Replace any with Meow
- Add more comforting type aliases
- Improve the vibe
Heizi — cat-powered type theorist
Email: meowheizi@gmail.com(stonefishbear@gmail.com)
MIT.
Use it freely, abuse it gently.
And if you're going to type any anyway, say it nicely: Meow`.
> This library was born from frustration, humor, and a strong belief that
> sometimes the best type is the one that just wants you to feel okay.