Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions types/n3/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,4 @@ export namespace Util {

export function termToId(term: Term): string;
export function termFromId(id: string, factory?: RDF.DataFactory): Term;
export function getRulesFromDataset(dataset: RDF.DatasetCore<RDF.Quad>): Rule[];
5 changes: 5 additions & 0 deletions types/n3/n3-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,5 +633,10 @@ function test_term_from_id_optional_factory() {
const t1: N3.Term = N3.termFromId("http://example.org/");
}

function test_get_rules_from_dataset() {
const store = new N3.Store();
const rules: N3.Rule[] = N3.getRulesFromDataset(store);
}

export const namedNode: ReturnType<RDF.DataFactory["namedNode"]> = N3.DataFactory.namedNode("hello world");
export const df: RDF.DataFactory = N3.DataFactory;
5 changes: 5 additions & 0 deletions types/telegram-web-app/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,11 @@ export interface WebAppInitData {
* messages via the answerWebAppQuery method.
*/
query_id?: string;
/**
* A unique identifier for the chat join request query, required for
* processing the query via the method {@link https://core.telegram.org/bots/api#answerchatjoinrequestquery|answerChatJoinRequestQuery}.
*/
chat_join_request_query_id?: string;
/** An object containing data about the current user. */
user?: WebAppUser;
/**
Expand Down
2 changes: 1 addition & 1 deletion types/telegram-web-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/telegram-web-app",
"version": "9.6.9999",
"version": "10.1.9999",
"nonNpm": "conflict",
"nonNpmDescription": "telegram-web-app",
"projects": ["https://telegram.org/js/telegram-web-app.js"],
Expand Down
2 changes: 2 additions & 0 deletions types/telegram-web-app/telegram-web-app-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,5 @@ app.SecondaryButton.setParams({
app.requestChat("req_id", (success) => {
success; // $ExpectType boolean
});

app.initDataUnsafe.chat_join_request_query_id; // $ExpectType string | undefined