Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8166cb2

Browse files
committed
chore: remove todo in comment
1 parent9a1bb46 commit8166cb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎generator/codemods/vuex/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
constaddImport=require('../utils/add-import')
22
constremoveExtraneousImport=require('../utils/remove-extraneous-import')
33

4+
// new Store() -> createStore()
45
/**@type {import('jscodeshift').Transform} */
56
module.exports=function(fileInfo,api){
67
constj=api.jscodeshift
78
constroot=j(fileInfo.source)
89
constcontext={ j, root}
910

10-
// TODO: new Store() -> createStore()
11-
1211
constvuexImportDecls=root.find(j.ImportDeclaration,{
1312
source:{
1413
value:'vuex'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp