@7nohe/openapi-react-query-codegen 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common.mjs +1 -1
- package/package.json +1 -1
package/dist/common.mjs
CHANGED
|
@@ -80,7 +80,7 @@ export function extractPropertiesFromObjectParam(param) {
|
|
|
80
80
|
* TODO: Replace with a more robust solution.
|
|
81
81
|
*/
|
|
82
82
|
export function getShortType(type) {
|
|
83
|
-
return type.replaceAll(/import\("
|
|
83
|
+
return type.replaceAll(/import\(".*?"\)\./g, "");
|
|
84
84
|
}
|
|
85
85
|
export function getClassesFromService(node) {
|
|
86
86
|
const klasses = node.getClasses();
|