Skip to content

Commit 0704e42

Browse files
committed
added commit to debug tsc
1 parent 2f8d5d8 commit 0704e42

File tree

6 files changed

+5668
-8032
lines changed

6 files changed

+5668
-8032
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react": "^16.9.0",
1818
"react-dom": "^16.9.0",
1919
"react-router-dom": "^5.0.1",
20-
"react-scripts": "3.1.1"
20+
"react-scripts": "^5.0.0"
2121
},
2222
"scripts": {
2323
"start": "react-scripts start",

src/Session.vim

+11-45
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,17 @@ let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-
33
let v:this_session=expand("<sfile>:p")
44
silent only
55
silent tabonly
6-
cd ~/Projects/react-typescript-example/src
6+
cd ~/typescript-lsp-server-bug-test/src
77
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
88
let s:wipebuf = bufnr('%')
99
endif
1010
set shortmess=aoO
11-
badd +2 ~/Projects/react-typescript-example/src/components/XxxHeader/XxxHeader.tsx
12-
badd +6 ~/Projects/react-typescript-example/src/pages/XxxAnswersPage/XxxAnswersPage.tsx
13-
badd +69 ~/Projects/react-typescript-example/node_modules/@material-ui/core/CircularProgress/CircularProgress.d.ts
14-
badd +30 ~/Projects/react-typescript-example/src/pages/XxxHomePage/XxxHomePage.tsx
15-
badd +6 ~/Projects/react-typescript-example/src/pages/XxxHomePage/BlaPaernt.tsx
16-
badd +6 pages/XxxHomePage/BlaChild.tsx
17-
badd +0 ~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts
1811
argglobal
1912
%argdel
2013
edit pages/XxxHomePage/BlaChild.tsx
2114
let s:save_splitbelow = &splitbelow
2215
let s:save_splitright = &splitright
2316
set splitbelow splitright
24-
wincmd _ | wincmd |
25-
vsplit
26-
1wincmd h
27-
wincmd w
2817
let &splitbelow = s:save_splitbelow
2918
let &splitright = s:save_splitright
3019
wincmd t
@@ -34,10 +23,7 @@ set winminheight=0
3423
set winheight=1
3524
set winminwidth=0
3625
set winwidth=1
37-
exe 'vert 1resize ' . ((&columns * 106 + 106) / 213)
38-
exe 'vert 2resize ' . ((&columns * 106 + 106) / 213)
3926
argglobal
40-
balt ~/Projects/react-typescript-example/src/pages/XxxHomePage/BlaPaernt.tsx
4127
setlocal fdm=manual
4228
setlocal fde=0
4329
setlocal fmr={{{,}}}
@@ -48,41 +34,21 @@ setlocal fdn=20
4834
setlocal fen
4935
silent! normal! zE
5036
let &fdl = &fdl
51-
let s:l = 5 - ((4 * winheight(0) + 26) / 52)
37+
let s:l = 5 - ((4 * winheight(0) + 22) / 44)
5238
if s:l < 1 | let s:l = 1 | endif
5339
keepjumps exe s:l
5440
normal! zt
5541
keepjumps 5
56-
normal! 07|
57-
wincmd w
58-
argglobal
59-
if bufexists("~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts") | buffer ~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts | else | edit ~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts | endif
60-
if &buftype ==# 'terminal'
61-
silent file ~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts
62-
endif
63-
balt pages/XxxHomePage/BlaChild.tsx
64-
setlocal fdm=manual
65-
setlocal fde=0
66-
setlocal fmr={{{,}}}
67-
setlocal fdi=#
68-
setlocal fdl=0
69-
setlocal fml=1
70-
setlocal fdn=20
71-
setlocal fen
72-
silent! normal! zE
73-
let &fdl = &fdl
74-
let s:l = 503 - ((24 * winheight(0) + 26) / 52)
75-
if s:l < 1 | let s:l = 1 | endif
76-
keepjumps exe s:l
77-
normal! zt
78-
keepjumps 503
79-
normal! 09|
80-
wincmd w
81-
2wincmd w
82-
exe 'vert 1resize ' . ((&columns * 106 + 106) / 213)
83-
exe 'vert 2resize ' . ((&columns * 106 + 106) / 213)
42+
normal! 0
8443
tabnext 1
85-
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0&& getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
44+
badd +2 ~/Projects/react-typescript-example/src/components/XxxHeader/XxxHeader.tsx
45+
badd +6 ~/Projects/react-typescript-example/src/pages/XxxAnswersPage/XxxAnswersPage.tsx
46+
badd +69 ~/Projects/react-typescript-example/node_modules/@material-ui/core/CircularProgress/CircularProgress.d.ts
47+
badd +30 ~/Projects/react-typescript-example/src/pages/XxxHomePage/XxxHomePage.tsx
48+
badd +6 ~/Projects/react-typescript-example/src/pages/XxxHomePage/BlaPaernt.tsx
49+
badd +6 pages/XxxHomePage/BlaChild.tsx
50+
badd +1 ~/Projects/react-typescript-example/node_modules/@types/react/index.d.ts
51+
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
8652
silent exe 'bwipe ' . s:wipebuf
8753
endif
8854
unlet! s:wipebuf

src/pages/XxxHomePage/BlaChild.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { FC } from "react";
22

3-
type BlaParentType = {};
3+
type BlaParentType = { dsf: boolean; sdf: boolean; };
44

55
const BlaChild: FC<BlaParentType> = () => <div>bla</div>;
66

77
export default BlaChild;
8-
File renamed without changes.

0 commit comments

Comments
 (0)