File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ import * as vscode from 'vscode' ;
67import * as fs from 'fs' ;
78import * as path from 'path' ;
89import { LanguageServerOptions } from '../../shared/options' ;
@@ -49,7 +50,7 @@ export const componentInfo: { [key: string]: ComponentInfo } = {
4950export function getComponentPaths (
5051 componentName : string ,
5152 options : LanguageServerOptions | undefined ,
52- channel ?: { warn : ( message : string ) => void }
53+ channel ?: vscode . LogOutputChannel
5354) : string [ ] {
5455 const component = componentInfo [ componentName ] ;
5556 const baseFolder = getComponentFolderPath ( component , options ) ;
Original file line number Diff line number Diff line change @@ -13,5 +13,4 @@ export interface IPackage {
1313 platformId ?: string ;
1414 integrity ?: string ;
1515 isFramework ?: boolean ;
16- isOptional ?: boolean ;
1716}
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ export class AbsolutePathPackage implements IPackage {
2020 public fallbackUrl ?: string ,
2121 public platformId ?: string ,
2222 public integrity ?: string ,
23- public isFramework ?: boolean ,
24- public isOptional ?: boolean
23+ public isFramework ?: boolean
2524 ) { }
2625
2726 public static getAbsolutePathPackage ( pkg : Package , extensionPath : string ) {
@@ -37,8 +36,7 @@ export class AbsolutePathPackage implements IPackage {
3736 pkg . fallbackUrl ,
3837 pkg . platformId ,
3938 pkg . integrity ,
40- pkg . isFramework ,
41- pkg . isOptional
39+ pkg . isFramework
4240 ) ;
4341 }
4442}
You can’t perform that action at this time.
0 commit comments