Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 0303c55

Browse files
authored
Fix typo in sql client type name (SQLCLient -> SQLClient) (#316)
1 parent 27ba1e6 commit 0303c55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/sql/extension/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { NodeCG } from "nodecg-types/types/server";
22
import { requireService } from "nodecg-io-core";
3-
import { SQLCLient } from "nodecg-io-sql";
3+
import { SQLClient } from "nodecg-io-sql";
44

55
module.exports = function (nodecg: NodeCG) {
66
nodecg.log.info("Sample bundle for the template service started.");
77

8-
const sql = requireService<SQLCLient>(nodecg, "sql");
8+
const sql = requireService<SQLClient>(nodecg, "sql");
99

1010
sql?.onAvailable(async (sql) => {
1111
// In the following, we demonstrate some simple examples on how to use knex.js

services/nodecg-io-sql/extension/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface SQLConfig {
99
connection: Record<string, unknown>;
1010
}
1111

12-
export type SQLCLient = Knex;
12+
export type SQLClient = Knex;
1313

1414
module.exports = (nodecg: NodeCG) => {
1515
new SQLService(nodecg, "sql", __dirname, "../schema.json").register();

0 commit comments

Comments
 (0)