Ligature support for dom renderer

Fixes #3283
This commit is contained in:
Daniel Imms
2021-04-02 10:34:14 -07:00
parent d8113aa533
commit b7320794bb
9 changed files with 108 additions and 42 deletions
@@ -42,6 +42,8 @@ export class ServiceCollection {
}
export class InstantiationService implements IInstantiationService {
public serviceBrand: undefined;
private readonly _services: ServiceCollection = new ServiceCollection();
constructor() {
+2
View File
@@ -157,6 +157,8 @@ type GetLeadingNonServiceArgs<Args> =
export const IInstantiationService = createDecorator<IInstantiationService>('InstantiationService');
export interface IInstantiationService {
serviceBrand: undefined;
setService<T>(id: IServiceIdentifier<T>, instance: T): void;
getService<T>(id: IServiceIdentifier<T>): T | undefined;
createInstance<Ctor extends new (...args: any[]) => any, R extends InstanceType<Ctor>>(t: Ctor, ...args: GetLeadingNonServiceArgs<ConstructorParameters<Ctor>>): R;