sinclairzx81

Results 171 comments of sinclairzx81

Yes, both `tsc -p ./tsconfig.json` and `tsc-bundle ./tsconfig.json` should work the same with respect to paths. In terms of the `require` proxy, it has more to do with resolving CJS...

Hi, thank you for your kind feedback! Unfortunately, there is currently no support for bundled d.ts files in typescript-bundle, but this is something i absolutely would like to look at...

@KATT Hi, thanks for quick reply! > Likely, what needs to be done is to add a new type of parser which should be relatively straightforward. Yes, I've checked the...

@sachinraja Yeah, TS has some interesting rules around this. In theory though should be possible to infer for the `input` parameter, however the inference logic needs to account for the...

@sachinraja > Type providers are an interesting idea though. We could look into that for a potential performance win. Hey, just as a follow up for Type Providers (and if...

@sachinraja Well, the way Fastify approaches inference remapping is via a `withProvider()` mapping function. This function essentially just remaps the current provider (which is an ethereal type) into a new...

@sachinraja Hi, Just tested the current version published on NPM, but the issue still persists. [TypeScript Link Here](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgFQJ5gKYGELmAGwyjgF84AzKXOAcgAEBnYAOwGN8BDYKAehnQwAjCAA8erXGAJEaAWABQoSLEQoBAGhQBlVgAsMIDqQpUQtRi3Zde-TMJFzF4aPABUcDgzgwoYViep6Hz8eBiIANxkFBQwRZXhyAFc2GGAIZjgcPEIAHmQ4WJgMZgATL2QdfUMAPgAKBj0DDgAuFE0oDHIiYtYMBlaKxsMAbQBdOABeODGASkQFODgJZgZ4RtYAa0m1TCypQigAOj3peqGOds7utj6ZhbgOmESoDNqWMESYVuSN5ggAd2Ycwm1Xm8kWi2A5Fq6w2x30mzezA+MBmc0ezwy70+90WMF0VH+cAAolAqFBajQAJLMcIcfDAEpwGkomh3cGkBQkaLyZarB4QT5EbbBViHKhCikzQ4AR0SRFQlJ4NE0CHu2K+mUkpzQmEOADlEiBBERamjNHAeDw4BAtosALRwDWtAAKVF6JWeGBdHCgYSgOWYRpNUGq9w6DAg+EizVqSA1pGBoIQZAhEKtFC4+DgjudcB+f0BXJmQA) ```typescript import { TypeCompiler } from '@sinclair/typebox/compiler' import { Type, TSchema }...

@sachinraja Tested `@trpc/[email protected]` but still see the same issue. Repro Code ```typescript import { TypeCompiler } from '@sinclair/typebox/compiler' import { Type, TSchema } from '@sinclair/typebox' import * as trpc from...

@sachinraja Ah right, a new API!!! That looks like it's working great :) Good work!

@BenWoodworth Hi! Glad you're finding the library useful :) And thanks for the suggestion! I do actually think TypeBox needs something like this for user defined schemas that do not...