Override method error when extends BaseLanguageClientContribution

when i override globPatterns() method in BaseLanguageClientContribution class error occurs like this

error code like this

src/browser/jcl-language-client-contribution.ts:19:19 - error TS2611: 'globPatterns' is defined as a property in class 'BaseLanguageClientContribution', but is overridden here in 'JclLanguageClientContribution' as an accessor.

my code is

import { BaseLanguageClientContribution, LanguageClientFactory, Languages, Workspace } from ‘@theia/languages/lib/browser’;
import { inject, injectable } from ‘inversify’;
import { JCL_LANGUAGE_ID, JCL_LANGUAGE_NAME, EXTENSIONS_WITH_DOT } from ‘…/common’;

@injectable()
export class JclLanguageClientContribution extends BaseLanguageClientContribution {

readonly id = JCL_LANGUAGE_ID;
readonly name = JCL_LANGUAGE_NAME;

constructor(
    @inject(Workspace) protected readonly workspace: Workspace,
    @inject(Languages) protected readonly languages: Languages,
    @inject(LanguageClientFactory) protected readonly languageClientFactory: LanguageClientFactory
) {
    super(workspace, languages, languageClientFactory);
}

protected get globPatterns(): string[] {
    return [
        '**/*.{'  + EXTENSIONS_WITH_DOT.join()+ '}'
    ];
}

protected get documentSelector(): string[] {
    return [
        JCL_LANGUAGE_ID
    ];
}

}

it was worked before,
but error occurs suddenly.

How can i do?

Language smartness can be only contributed via VS Code extensions starting from 1.4.0. Please see https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#1_4_0_deprecate_languages

But i use theia 0.9.0 version
is it impacted too ?

What is your TS version? Maybe you’re hitting this breaking change in TS. Just guessing though.