mirror of
https://github.com/outline/outline.git
synced 2026-12-06 11:12:32 +03:00
chore: enable typescript/restrict-template-expressions lint rule (#12199)
* chore: enable typescript/restrict-template-expressions lint rule Coerce values of unknown type with explicit String() and tighten typing for template literal expressions across the codebase. * fix: restore --line-height on Card for fadeOut ::after gradient
This commit is contained in:
1 parent
adbffc0734
commit
87bb79250d
13 files changed
+27
-27
No files matched your search
@@ -116,7 +116,7 @@ export class GitHubIssueProvider extends BaseIssueProvider {
|
||||
const installation = await client.requestAppInstallation(installationId);
|
||||
|
||||
const scopes = Object.entries(installation.data.permissions).map(
|
||||
([name, permission]) => `${name}:${permission}`
|
||||
([name, permission]) => `${name}:${String(permission)}`
|
||||
);
|
||||
|
||||
await sequelize.transaction(async (transaction) => {
|
||||
|
||||
@@ -64,7 +64,7 @@ router.get(
|
||||
}
|
||||
|
||||
const scopes = Object.entries(installation.permissions).map(
|
||||
([name, permission]) => `${name}:${permission}`
|
||||
([name, permission]) => `${name}:${String(permission)}`
|
||||
);
|
||||
|
||||
const authentication = await IntegrationAuthentication.create(
|
||||
|
||||
Reference in new issue
Block a user