You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've managed to get Yarn PnP working together with TypeScript, but initially only with ignoreBuildErrors: true. TypeScript validation can be made to work by using ts-pnp but requires a nasty hack because there's no way to set compilerHost in the call to createProgram.
Is your feature request related to a problem? Please describe.
I can't seem to use Yarn PnP together with TypeScript without disabling TypeScript validation.
Describe the solution you'd like
Please allow overriding compilerHost; of course, even nicer would be if it all just worked out of the box.
Describe alternatives you've considered
The hack I've linked above is a workaround, so is setting ignoreBuildErrors: true.
This discussion was converted from issue #16765 on September 02, 2020 09:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request
I've managed to get Yarn PnP working together with TypeScript, but initially only with
ignoreBuildErrors: true
. TypeScript validation can be made to work by using ts-pnp but requires a nasty hack because there's no way to setcompilerHost
in the call tocreateProgram
.Is your feature request related to a problem? Please describe.
I can't seem to use Yarn PnP together with TypeScript without disabling TypeScript validation.
Describe the solution you'd like
Please allow overriding
compilerHost
; of course, even nicer would be if it all just worked out of the box.Describe alternatives you've considered
The hack I've linked above is a workaround, so is setting
ignoreBuildErrors: true
.Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions