|
68 | 68 | "Angular Default Route Path": { |
69 | 69 | "prefix": "a-route-path-default", |
70 | 70 | "description": "Angular default route path", |
71 | | - "body": ["{ path: '', pathMatch: 'full', redirectTo: '${1:path}' }$0"] |
| 71 | + "body": ["{ path: '', pathMatch: 'full', redirectTo: '${1:path}' },$0"] |
72 | 72 | }, |
73 | 73 | "Angular Route Path with Children": { |
74 | 74 | "prefix": "a-route-path-with-children", |
|
80 | 80 | "\tchildren: [", |
81 | 81 | "\t\t{ path: '${3:childpath}', component: ${4:ChildComponent} }", |
82 | 82 | "\t]", |
83 | | - "}$0" |
| 83 | + "},$0" |
84 | 84 | ] |
85 | 85 | }, |
86 | 86 | "Angular 404 Route Path": { |
87 | 87 | "prefix": "a-route-path-404", |
88 | 88 | "description": "Angular 404 route path", |
89 | | - "body": ["{ path: '**', component: ${1:PathNotFoundComponent} }$0"] |
| 89 | + "body": ["{ path: '**', component: ${1:PathNotFoundComponent} },$0"] |
90 | 90 | }, |
91 | 91 | "Angular Eager Route Path": { |
92 | 92 | "prefix": "a-route-path-eager", |
93 | 93 | "description": "Angular eager route path", |
94 | | - "body": ["{ path: '${1:path}', component: ${2:Name}Component },"] |
| 94 | + "body": ["{ path: '${1:path}', component: ${2:Name}Component },$0"] |
95 | 95 | }, |
96 | 96 | "Angular Lazy Route Path": { |
97 | 97 | "prefix": "a-route-path-lazy", |
|
100 | 100 | "{", |
101 | 101 | "\tpath: '${1:path}', ", |
102 | 102 | "\tloadChildren: () => import('${2:lazy-path}').then(m => m.${3:lazy-module})", |
103 | | - "}," |
| 103 | + "},$0" |
104 | 104 | ] |
105 | 105 | }, |
106 | 106 | "Routing Params - Subscribe": { |
|
0 commit comments