Skip to content

Commit 86ca119

Browse files
Fix TS Build Mistakes
1 parent d865d61 commit 86ca119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settings/SettingsTab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class BetterWordCountSettingsTab extends PluginSettingTab {
4343
.addText((text: TextComponent) => {
4444
text.inputEl.type = "number";
4545
text.setPlaceholder("300");
46-
text.setValue(this.plugin.settings.pageWords);
46+
text.setValue(this.plugin.settings.pageWords.toString());
4747
text.onChange(async (value: string) => {
4848
this.plugin.settings.pageWords = parseInt(value);
4949
await this.plugin.saveSettings();

0 commit comments

Comments
 (0)