The actual logic for the pipe is put in a function called transform on the class, like so: TypeScript. Copy class DefaultPipe { transform(value: string, ...
確定! 回上一頁