getRequiredService
Function
interface IServiceProvider { // ... omitted for brevity getRequiredService(typeId: string): any;}Signature
method
getRequiredService Gets a required service by ATS type ID
getRequiredService(typeId: string): anyParameters
typeId string Returns
any Applies to
This function is an extension method on the following types: