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 have searched for existing issues that already report this problem, without success.
Stencil Version
4.26
Current Behavior
Issue with components.d.ts: '"./models/enums"' has no exported member named 'searchType'. Did you mean 'SearchType'? import { searchType as SearchType } from "./models/enums"; export { searchType as SearchType } from "./models/enums";
Since it is automatically generated so I cannot adjust.
Expected Behavior
The expectation would be building success without error.
System Info
Steps to Reproduce
My enums.ts file like below: import { SearchRequestBody } from '../api'; export import SearchType = SearchRequestBody.searchType;
My SearchRequestBody.ts file: export type SearchRequestBody = { 'q': string; ... }; export namespace SearchRequestBody { export enum searchType { M = 'M', O = 'O', ... } }
Code Reproduction URL
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Stencil Version
4.26
Current Behavior
Issue with components.d.ts: '"./models/enums"' has no exported member named 'searchType'. Did you mean 'SearchType'?
import { searchType as SearchType } from "./models/enums";
export { searchType as SearchType } from "./models/enums";
Since it is automatically generated so I cannot adjust.
Expected Behavior
The expectation would be building success without error.
System Info
Steps to Reproduce
My enums.ts file like below:
import { SearchRequestBody } from '../api';
export import SearchType = SearchRequestBody.searchType;
My SearchRequestBody.ts file:
export type SearchRequestBody = { 'q': string; ... };
export namespace SearchRequestBody { export enum searchType { M = 'M', O = 'O', ... } }
Code Reproduction URL
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered: