[ts-interface-generator] Generate fully qualified module names in interface for seamless use with tsc declarations
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- tooling
Línea de trabajo
Start with the @ui5/ts-interface-generator package and compare its generated interface declarations with declarations emitted by the tsc workflow described in the issue. Verify the result by placing the generated *.gen.d.ts files alongside tsc output and confirming that native tsc can resolve the module names without ui5-transpile-task.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description:
The current behavior of the @ui5/ts-interface-generator package generates interface declarations with relative module names. This leads to issues when attempting to use these interfaces alongside declarations generated by tsc, as relative paths cannot be resolved in such scenarios.
Desired Behavior:
It would be desired that the generated interfaces can be used and placed along with declarations generated by tsc (perhaps by using fully qualified module names)
Note: The tooling task ui5-transpile-task already transforms the generated interfaces accordingly, but it would be nice if one can use the native tsc cli for the type generation as well.
A workflow to generate declarations for a TS-based ui5 library project could be:
- Generate declarations for TS files
tsc --emitDeclarationOnly --declarationMap --outFile index.d.ts
- Copy over the generated interfaces (
*.gen.d.ts) in a post build step (tsc output generation does not consider d.ts)
- Lenguaje dominante
- TypeScript
- Estrellas
- 213
- Forks
- 35
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de UI5/typescript
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
UI5/typescript#625 · 4 comentarios ·
-
dts-generator
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
UI5/typescript#529 · 3 comentarios ·
-
Dependency DashboardAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
UI5/typescript#587 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
UI5/typescript#532 ·
-
enhancement ts-interface-generator
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
UI5/typescript#524 ·
Todos los issues de UI5/typescript
Issues similares
-
combobox: highlighted item never scrolls into view when there's no content part (Ark Command)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
bug P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día