Justin Magaram
Justin Magaram
I'm experimenting with Elix using SolidJS and the TypeScript template. I can get TypeScript intellisense for some Elix components but not others. **Steps that reproduce the issue** Create a TypeScript...
I’m using functors to generate validated primitive types, like a NonNegativeInt. It works. But the tooltip/intellisense for using the functor is kind of strange. For example, in the code below...
I keep moving between TypeScript and ReScript and find myself typing `void` when I mean to do `unit`, like `promise`. Or I write a binding that looks like `..... =>...
Desperately needing samples in TypeScript. I'm trying to test functions now and don't have a clue what parameters are possible on Request and Response objects. Have Googled for hours and...
Open document A Open document B (on top of A) Click "go back" - cursor is lost, or actually at top of document, though scroll Wish it worked as well...
I'm trying to use the vitest extension: https://marketplace.visualstudio.com/items?itemName=ZixuanChen.vitest-explorer It doesn't find any tests even after including paths like this... ``` "vitest.include": [ "**/*.{test,spec}.bs.js", "**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}" ], ``` The extension finds the...
Some missing functions from the Array module. In particular the `findLast` variants. `indexOfFromOpt`: add code and docs `lastIndexOf` : docs, tests `lastIndexOfOpt` : tests `lastIndexOfFrom` : docs, tests `findLast` :...
This adds two functions - `Option.isSomeAnd` and `Option.isNoneOr`. Full and really good documentation and tests. These are convenience functions that lead to shorter and easier-to-understand code. These correspond to the...
I was writing some code checking for null and undefined and found it awkward. Originally I tried `%raw` which worked but wasn't pretty. I tried a bunch of `Nullable.toOption` and...
This removes all the submodules like `SyntaxError` and `RangeError` that had a single function in it - `make` - and moves these to the top level like `makeRangeError` and `makeSyntaxError`....