Angular's recent version requires initialization for variables. How can I fix it?

前端 未结 0 1164
广开言路
广开言路 2021-02-05 12:28

The code below works in the older Angular version.

import { Component } from \'@angular/core\';

@Component({
  selector: \'app-root\',
  template: `
    

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题