fix: strict css type (#2573)

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
Co-authored-by: Ilya Maroz <37909603+ilyamore88@users.noreply.github.com>
This commit is contained in:
Alex Yang 2024-03-13 22:57:52 +08:00 committed by GitHub
parent bb2047c60f
commit b355f1673c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,10 +106,10 @@ export default class Toolbox extends EventsDispatcher<ToolboxEventMap> {
/**
* CSS styles
*
* @returns {Object<string, string>}
*/
private static get CSS(): { [name: string]: string } {
private static get CSS(): {
toolbox: string;
} {
return {
toolbox: 'ce-toolbox',
};