Invalid module name in augmentation- index.d.ts
See original GitHub issueHi, i’m looking for some help with the following issue:
Using
joi-extract-type: 15.0.1
@hapi/joi": 15.1.1
I’m importing in with the following:
import 'joi-extract-type'
In the node module file index.d.ts i’m having the following error: module “@hapi/joi” Invalid module name in augmentation. Module ‘@hapi/joi’ resolves to an untyped module at ‘/Users/johnanderson/Documents/GitHub/error-handling-class-spike/node_modules/@hapi/joi/lib/index.js’, which cannot be augmented.ts(2665)
Thanks
John
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
error TS2664: Invalid module name in augmentation #9748
I am getting a similar error: [ts] Invalid module name in augmentation. Module 'shiitake' resolves to an untyped module at 'd:/dev/foo/foobar.
Read more >Invalid module name in augmentation - not able to resolve for ...
declare module 'node-helper-lib' { import * as SomeThirdParty from 'node-helper-lib'; interface Helper { new(opt: SomeThirdParty.
Read more >Microsoft/TypeScript - Gitter
I get the error: Invalid module name in augmentation. ... module 'project/submodule' , even though the project/submodule folder contains an index.d.ts file.
Read more >"Error TS2665: Invalid module name in augmentation ...
DevExpress Support Team: CLONED FROM T1117410: DataGrid - Excel's drop-down items are not shown if DataGrid is exported without data] Hi Ma.
Read more >TypeScript: Invalid module name in augmentation - rzslider.d.ts
Module 'angular' resolves to an untyped module at /node_modules/angular/index.js', which cannot be augmented.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TCMiranda, thanks, all is working now
Updated on 15.0.2, if you could test on your setup, it would be awesome. Thanks