-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from Rezact/fix-import-array-stores-and-maps
Fix import array stores and maps
- Loading branch information
Showing
4 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// do not move this data to another file, having it in its own file is part of a test case that is subtle | ||
// importing this data into the Todos.tsx file would have caused a failure until | ||
// the following fix was implemented in the vite.plugin.ts | ||
|
||
// const hasMapDecl = | ||
// mapDeclarationTracking[node.init?.callee?.object?.name] || | ||
// ["filter", "map", "reduce"].includes( | ||
// node.init?.callee?.property?.name | ||
// ); | ||
|
||
export let $todos: any = [ | ||
{ $text: "Learn Rezact", $completed: false }, | ||
{ $text: "Learn TypeScript", $completed: true }, | ||
{ $text: "Build something awesome", $completed: false }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters