Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351
stars
11
forks
source link
Internal: TypeScript compiler: Use strict null checks #70
TypeScript compiler should be configured to be more strict about the nullability of data types. Null should only be allowed when explicitly defined that a value can be null.
[x] Write a cleaner summary of touched areas of the plugin.
[x] Add to CHANGELOG.md.
[x] Fix found two small bugs, even though they are not related to this issue.
Summary of changes
Main application areas that were touched
Making the plugin more type-safe introduced small changes to almost all parts of the plugin. Here's a condensed list of the changed parts. The changes should not be visible to users, but as all changes may cause new bugs, I feel it's good to document on a rough level, which parts were changed.
Plugin overall structure
Shell command execution process
Variables: both custom and builtin ones.
Output channels
Events
Settings
Prompts
A complete list of classes/function that were modified
TypeScript compiler should be configured to be more strict about the nullability of data types.
Null
should only be allowed when explicitly defined that a value can benull
.https://www.typescriptlang.org/tsconfig#strictNullChecks
2022-11-28: I've now done the refactoring.
Still TODO:
Summary of changes
Main application areas that were touched
Making the plugin more type-safe introduced small changes to almost all parts of the plugin. Here's a condensed list of the changed parts. The changes should not be visible to users, but as all changes may cause new bugs, I feel it's good to document on a rough level, which parts were changed.
A complete list of classes/function that were modified