-
In certain cases jscodeshift causes a syntax error when transforming types (in my case Flow, but maybe TS, too). [Seee this demo.](https://astexplorer.net/#/gist/874f58d515c1962bed232b6020fb909c/c935a…
-
For each module that contains a decorator (e.g. `@computed`) I get the following error:
```bash
error parsing file `[path/to/file]` failed to apply codeshift. Possible invalid JS file. Returning o…
-
Right now, there are 2 ways that a developer can run a codemod:
1. Copy the codemod to their local machine, and pass the file path in with `-t`
2. Provide a URI to a remote `.js` file (with the caveat…
-
I had wanted to use Limber for showcasing https://github.com/NullVoxPopuli/ember-statechart-component/, because the story here is *really* slick with template imports -- but xstate (and ember-statecha…
-
Same as https://github.com/benjamn/ast-types/issues/242 but for TS instead of flow.
I left this comment https://github.com/benjamn/ast-types/issues/242#issuecomment-696789947 initially. But as the …
-
Hi
I have this code but I recibe this error "undefined is not an object (evaluating 'PropTypes.bool')"
```
import React, { Component } from 'react';
Import Slider from 'react-native-multi-slide…
-
I needed to switch from Typescript to Flow.
For anyone else using flow, I was able to modify the `babylon.config.json` to change `"typescript"` to `"flow"` and then the tool ran perfectly.
In …
-
### Self-service
- [ ] I'd be willing to implement this feature
### Problem
Codemod does not transform TSTypeReference inside NewExpression
Example input:
```ts
import AWS from "aws-sdk";
con…
-
As per the README
> As of v0.6.1, this module can also be written in TypeScript.
However, where are the types for use in the module? In particular, the types for the API? I do not see any type …
-
jsdoc can't be bumped up any higher than 3.7 because 3.8 and onwards makes use of a version of the klaw library that doesn't run on node versions less than 14 (which breaks jscodeshift's node 12 build…