在我Angular2程序,我正在導入一個組件是這樣的:打字稿皮棉錯誤「超過120行的最大長度」
import { PersonsSingleAccountComponent} from
'../persons-information/fragments/persons-single-account/persons-single-account-bookings/persons-single-account-bookings.component'
這是給我的皮棉錯誤「超出最大行字符」。如果我試圖在``(反向)中給出語句,那麼就是拋出錯誤。
我怎樣才能解決這個皮棉錯誤
旁邊的錯誤,也許你還需要一點點的重構。在'persons-information'文件夾中,是否需要在所有單個文件夾前添加'persons'?關於你的問題的一些提示:https://github.com/madskristensen/WebEssentials2013/issues/667或http://stackoverflow.com/questions/21868675/jquery-d-ts-compilation-failed-tslint-exceeds-maximum-行長 – mickdev