[TOC] ## 概述 ``` function Path(target:any) { console.log("I am decorator.") } @Path class demo{ demo(name:string):string{ return name } } ```