은 매우 분명하다 flowjs에서 "라이브러리 정의의 일관성 사용"하지만 지금은있어 뭔가 :이상한 오류 메시지
src/framework/uitable/show.js:0
inconsistent use of library definitions
46: columns: Array<UiTableConfigColumnType>
^^^^^^^^^^^^^^^^^^^^^^^ object type. This type is incompatible with. See lib: src/framework/uitable/uitable.js.flow:46
52: type UiTableDataColsType = Array<string>;
^^^^^^ string. See lib: src/framework/uitable/uitable.js.flow:52
src/framework/uitable/show.js:0
inconsistent use of library definitions
52: type UiTableDataColsType = Array<string>;
^^^^^^ string. This type is incompatible with. See lib: src/framework/uitable/uitable.js.flow:52
46: columns: Array<UiTableConfigColumnType>
^^^^^^^^^^^^^^^^^^^^^^^ object type. See lib: src/framework/uitable/uitable.js.flow:46
하고 있습니다 무엇을 찾아야할지 전혀 모른다. 정의
종류는 괜찮을 것 같다, 그들은 내가 전에이 오류를 본 적이 없다 0
줄을 서로 소스 점과 관련이없는 나는 아래로 추적에 어떤 도움을 기대하지 않는다 이 오류의 실제 소스
나는 inconsistent use of library definitions
은 무엇을 의미 하는가 단지 오류 자체가 무엇을 의미하는지 이해하는데 도움을 필요로하는 이유 라인 0
도움 주셔서 대단히 감사합니다. 'flow check --trace 10 '을 사용하여 실제 문제를 해결할 수 있었고 이것이 실제로 개선되어야 할 필요가 있다고 생각함에 따라이 오류를 재연하는 방법에 대한 예제를 작성했습니다. 별도의 문제 https://github.com/facebook/flow/issues/2673. – doberkofler