Closed xatian closed 4 years ago
In html.d.ts:
/** * Get an attribute * @return {string} value of the attribute */ getAttribute(key: string): string; /**
If the attribute is not found this method returns undefined so the type should be string|undefined
string|undefined
It's right, thank you.
In html.d.ts:
If the attribute is not found this method returns undefined so the type should be
string|undefined