113 matches across 10 files for TODO lang:TypeScript
snippet_mode: auto · sorted by relevance
packages/compiler-sfc/src/parseComponent.ts TYPESCRIPT 1 matches view file →
84 template: null,
85 script: null,
86 scriptSetup: null, // TODO
87 styles: [],
88 customBlocks: [],
src/core/components/keep-alive.ts TYPESCRIPT 1 matches view file →
72const patternTypes: Array<Function> = [String, RegExp, Array]
73
74// TODO defineComponent
75export default {
76 name: 'keep-alive',
packages/server-renderer/src/create-renderer.ts TYPESCRIPT 1 matches view file →
91 }, cb)
92 try {
93 // @ts-expect-error TODO improve
94 render(component, write, context, err => {
95 if (err) {
src/compiler/codegen/index.ts TYPESCRIPT 1 matches view file →
438 // disconnected due to the intermediate scope variable)
439 // #9438, #9506
440 // TODO: this can be further optimized by properly analyzing in-scope bindings
441 // and skip force updating ones that do not actually use scope variables.
442 if (!needsForceUpdate) {
packages/compiler-sfc/src/compileScript.ts TYPESCRIPT 2 matches view file →
1481 return ['Object']
1482 case 'TSTypeLiteral':
1483 // TODO (nice to have) generate runtime property validation
1484 return ['Object']
1485 case 'TSFunctionType':
· · ·
1487 case 'TSArrayType':
1488 case 'TSTupleType':
1489 // TODO (nice to have) generate runtime element type/length checks
1490 return ['Array']
1491
test/helpers/shim-done.ts TYPESCRIPT 1 matches view file →
30 })
31
32;['skip', 'only', 'todo', 'concurrent'].forEach(key => {
33 shimmed[key] = _test[key]
34})
test/unit/modules/vdom/patch/hooks.spec.ts TYPESCRIPT 1 matches view file →
176 const patch1 = createPatchFunction({
177 nodeOps,
178 // @ts-ignore - TODO dtw
179 modules: modules.concat([
180 {
src/types/component.ts TYPESCRIPT 1 matches view file →
7import { EffectScope } from 'v3/reactivity/effectScope'
8
9// TODO this should be using the same as /component/
10
11/**
test/unit/features/options/lifecycle.spec.ts TYPESCRIPT 16 matches · showing 5 view file →
159 const destroyed = vi.fn()
160
161 Vue.component('todo', {
162 template: '<div>{{todo.done}}</div>',
163 props: ['todo'],
· · ·
162 template: '<div>{{todo.done}}</div>',
163 props: ['todo'],
164 destroyed,
· · ·
163 props: ['todo'],
164 destroyed,
165 beforeUpdate
· · ·
169 template: `
170 <div>
171 <todo v-for="t in pendingTodos" :todo="t" :key="t.id"></todo>
172 </div>
173 `,
· · ·
174 data() {
175 return {
176 todos: [{ id: 1, done: false }]
177 }
178 },
+ 11 more matches in this file
test/e2e/todomvc.spec.ts TYPESCRIPT 88 matches · showing 5 view file →
1import { setupPuppeteer, getExampleUrl, E2E_TIMEOUT } from './e2eUtils'
2
3describe('e2e: todomvc', () => {
4 const {
5 page,
· · ·
17
18 async function removeItemAt(n: number) {
19 const item = (await page().$('.todo:nth-child(' + n + ')'))!
20 const itemBBox = (await item.boundingBox())!
21 await page().mouse.move(itemBBox.x + 10, itemBBox.y + 10)
· · ·
22 await click('.todo:nth-child(' + n + ') .destroy')
23 }
24
· · ·
25 async function testTodomvc(apiType: 'classic' | 'composition') {
26 const baseUrl = getExampleUrl('todomvc', apiType)
27 await page().goto(baseUrl)
· · ·
26 const baseUrl = getExampleUrl('todomvc', apiType)
27 await page().goto(baseUrl)
28 expect(await isVisible('.main')).toBe(false)
+ 83 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.