Skip to content

Commit 7415553

Browse files
Merge pull request #207 from Unuuuuu/fix-typo-in-declaration-merging
Co-authored-by: bumkeyy <bumkeyy@users.noreply.github.com>
2 parents 662594d + 10322cb commit 7415553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation/ko/reference/Declaration Merging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ let box: Box = { height: 5, width: 6, scale: 10 };
5656

5757
인터페이스의 비-함수 멤버는 고유해야 합니다.
5858
만약 고유하지 않으면, 모두 같은 타입이어야 합니다.
59-
인터페이스가 동일한 이름의 함수 멤버를 선언하지만 다른 타입으로 선언하는 경우 컴파일러는 error를 발생시킵니다.
59+
인터페이스가 동일한 이름의 비-함수 멤버를 선언하지만 다른 타입으로 선언하는 경우 컴파일러는 error를 발생시킵니다.
6060

6161
함수 멤버의 경우, 이름이 같은 각 함수 멤버는 같은 함수의 오버로드 하는 것으로 처리합니다.
6262
또한 중요한 것은 인터페이스 A와 이후 인터페이스 A를 병합하는 경우에, 두 번째 인터페이스가 첫 번째 인터페이스보다 더 높은 우선순위를 갖게 됩니다.

0 commit comments

Comments
 (0)