require.resolve will still resolve to a JavaScript file #2016
                  
                    
                      VictorQueiroz
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
If you run node using
--require ts-node/registerand compile your TypeScript project,require.resolvecalls will resolve to the compiled.jsfiles and not.ts. Is there any known solutions to this besides deleting the.jsfiles?Beta Was this translation helpful? Give feedback.
All reactions