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.

reference issue in typings/interfaces/IAuthProvider.d.ts

See original GitHub issue

Library versions

  • react-aad-msal: 2.3.1
  • msal: 1.2.0

Describe the bug Cannot find ‘src/enums’ in typings/interfaces/IAuthProvider.d.ts

Expected behavior It should be able to find the path, the src folder doesn’t exists in the dist folder. The path is invalid.

To Reproduce Steps to reproduce the behavior:

  1. Run npm i react-aad-msal
  2. In Vs code , there is the following error message

Desktop (please complete the following information):

  • OS: Windows 10
  • IDE : Vs Code
  • Browser chrome 79

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
OscarGalindocommented, Feb 10, 2020

Still the same error with another import:

dist/typings/AuthenticationActionCreators.d.ts: import { IAccountInfo } from ‘src/interfaces’;

1reaction
AndrewCraswellcommented, Jan 10, 2020

@tomalex0 Really close, I think there might be a couple other imports in other files that import from “src/” path. If you double check those I will accept a PR and release tonight 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unnecessary self module references in d.ts files · Issue #30021
Expected behavior: The selfModule module reference is never used in code, so it should not appear in the type references in the generated...
Read more >
React 18 TypeScript children FC - Stack Overflow
Today it seems every single component that uses children is throwing an error. Property 'children' does not exist on type 'IPageProps'. Before ...
Read more >
How to use React Context with TypeScript - LogRocket Blog
Improve your development experience and learn how to use TypeScript with React Context in this post by building a to-do app from scratch....
Read more >
Compilation error for kendo.all.d.ts and jquery.d.ts 2.2.3 - Telerik
2, it works fine. Then I found that the issue happened only when using Kendo UI's TypeScript definition, kendo.all.d.ts, with jQuery definition ...
Read more >
Handbook - Interfaces - TypeScript
In TypeScript, interfaces fill the role of naming these types, and are a powerful way of defining contracts within your code as well...
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