Last updated 4 years ago
It is used to declare a new dependent object (Objects that can be injected by the mandarine built-in DI system)
It accepts the use of DI.
Syntax:
Example
This page summarizes the information & use of regular components.
@Component()
import { Component } from "https://deno.land/x/mandarinets/mod.ts"; @Component() export class MyComponent { }