'Pycharm says me that there I have misstake (Expected type 'Typ', got 'dict[str, int | str]' instead )

Im beginner in python and I just dont understand that warning and why Pycharm writing that simbol after int - ('|'). Also full text of warning is in the comment. Thanks in advance

from typing import TypedDict

class Typ(TypedDict):
    word: str
    count: int
    comment: str


dict_result: Typ = {'word': 'hello', 'count': 12, 'comment': 'yo'}###(Expected type 'Typ', got 
                                                              #'dict[str, int | str]' instead)
print(dict_result['word'])
print(dict_result['count'])
print(dict_result['comment'])


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source