Skip to content

Instantly share code, notes, and snippets.

@m-fire
m-fire / tsyringe.extension.d.ts
Created October 12, 2024 16:46
microsoft/tyringe DI Kit `d.ts` extension: Abstraction class can be used as `InjectionToken<T>`
/// <reference types="tsyringe" />
import constructor from 'tsyringe/dist/typings/types/constructor'
import InjectionToken from 'tsyringe/dist/typings/providers/injection-token'
import InterceptionOptions from 'tsyringe/dist/typings/types/interceptor-options'
import {
PostResolutionInterceptorCallback,
PreResolutionInterceptorCallback,
} from 'tsyringe/dist/typings/types/dependency-container'
import ValueProvider from 'tsyringe/dist/typings/providers/value-provider'
import FactoryProvider from 'tsyringe/dist/typings/providers/factory-provider'
{
name: "dummy"
}
@m-fire
m-fire / cloudSettings
Created January 8, 2020 11:03
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-08T11:03:52.227Z","extensionVersion":"v3.4.3"}
@m-fire
m-fire / cloudSettings
Last active January 7, 2020 14:40
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-07T14:40:28.394Z","extensionVersion":"v3.4.3"}