froebel
froebel copied to clipboard
A strictly typed utility library.
In the [kebab](https://github.com/MathisBullinger/froebel#kebab) case function example, `snake` is used instead. To demonstrate the issue: ```sh ~ $ deno > import { kebab, snake } from "https://deno.land/x/[email protected]/case.ts"; undefined > snake('fooBar') "foo_bar"...
It would be great to have a `unary` utility. Like this in plain JS but not sure how to implement it in TS: ```js const unary = (f) => {...
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. Release notes Sourced from actions/setup-node's releases. v4.0.0 What's Changed In scope of this release we changed version of node runtime for action from node16...
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
A lot of frameworks use Proxies for their reactivity, Vue included, but that makes it [impossible to use structuredClone](https://stackoverflow.com/questions/71075490/how-to-make-a-structuredclone-of-a-proxy-object). Vue team explicitely suggests to use clone functions, but this library...
``` Could not find a declaration file for module 'froebel/forward'. '/Users/daniel/testproject/node_modules/froebel/forward.mjs' implicitly has an 'any' type. There are types at '/Users/daniel/testproject/node_modules/froebel/forward.d.ts', but this result could not be resolved when respecting...
https://github.com/lodash/lodash/blob/master/invert.js
I saw your post about type-checking a `pipe` function [here](https://www.reddit.com/r/typescript/comments/wihhh8/a_fully_typed_pipe_function/jbekjpq/?context=3) and posted a [reply](https://www.reddit.com/r/typescript/comments/wihhh8/comment/jbekjpq/?utm_source=reddit&utm_medium=web2x&context=3): > Does it need to be recursive? > > Here's the approach I came up with,...
[throttle](https://github.com/MathisBullinger/froebel/blob/main/throttle.ts) breaks the default React Native build (0.70.2). `performance` isn't available in React Native, and neither is `perf_hooks`. I have not yet investigated the conventional alternative.
This fixes #18 where TypeScript cannot resolve declaration files when moduleResolution is set to "bundler"