question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error TS2305: Module '"typy"' has no exported member 't'

See original GitHub issue

when importing type

import { t } from "typy";

with typescript 3.4.3

I get the following error

error TS2305: Module '"typy"' has no exported member 't'.

6 import { t } from "typy";

looking at the index.d.ts this looks right. t is actually a member of Type. But creating a new Type and than calling t on it looks really clunky.

Not sure what to do here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
analizapandaccommented, Sep 2, 2019

I think just these 3 needs to be changed. You can create the PR then we’ll review it 😃

0reactions
flexdineshcommented, Sep 6, 2019

Changes published in v3.2.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve the "module has no exported member" error?
I am following instructions from the this answer, but cannot make the solution work. Overview. I want to use import { Type }...
Read more >
Module has no exported member error in TypeScript
The error "Module has no exported member" occurs when we try to import a member that doesn't exist in the specified module. To...
Read more >
TS2305: Module '"type-fest"' has no exported member ... - GitHub
When trying to compile my Angular application in development the build fails with the following error. Error: node_modules/.pnpm/@aws-amplify+ui ...
Read more >
[Pro User] No exported member - Material Design for Bootstrap
Hi, I on index.ts file, under node_modules/ng-mdb-pro, the error below Error:(2, 9) TS2305: Module '../node_modules/ng-mdb-pro/free/index' has no exported ...
Read more >
[NODE-4851] build fails with tls has no exported member
node_modules/mongodb/mongodb.d.ts:33:15 - error TS2305: Module '"tls"' has no exported member 'TLSSocketOptions'. 33 import type ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found