Sam A. Horvath-Hunt
Sam A. Horvath-Hunt
Seems fine today across two repos :shrug:
I'm getting this with a lot of videos blocked externally by Machinima. What's to lose by disabling magic redirects? Any non-quick and dirty fixes on the horizon..? O:-)
@pie6k As far as I can tell that's not a solution, that's merely your assertion (`as T[]`) unsafely narrowing.
@pie6k It's not safe. You can prove this like so: ```typescript export function removeEmptyElementsFromArray(array: Array): T[] { return array as T[]; } ``` This still compiles just as yours did....
Separately of tsconfig, you may want to point subpath exports directly at anticipated output files in a monorepo setting. A workaround for this issue is to add an extra condition...
@gcanti That doesn't appear to work for me with ESM imports: ```ts // https://www.typescriptlang.org/docs/handbook/esm-node.html import x from './y.js' // https://nodejs.org/api/packages.html#subpath-imports import x from '#self/y' ``` ``` TSError: ⨯ Unable to...
`nix.registry` is for flakes. I don't know how to reference the eventual dotfiles output flake, nor do I know how to annotate a flake inline (a naive `nixpkgs // {...
This may face similar challenges regarding the feature being disabled as #23.
Without the first overload, inferrence fails. I don't understand why. Without the second overload, that subtyping behaviour regresses. We can possibly drop the third overload though, redundant in the presence...
I don't know how to solve this considering that `reject` can't support refinements. No other combination of overloads or playing with type arguments seems to work. :thinking: