![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@girs/gdk-4.0
Advanced tools
GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0
GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0 using ts-for-gir v4.0.0-beta.10.
To use this type definitions, install them with NPM:
npm install @girs/gdk-4.0
You can import this package into your project like this:
import Gdk from '@girs/gdk-4.0';
You can also use ambient modules to import this module like you would do this in JavaScript.
For this you need to include @girs/gdk-4.0
or @girs/gdk-4.0/ambient
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/gdk-4.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/gdk-4.0"],
...
}
Now you can import the ambient module with TypeScript support:
import Gdk from 'gi://Gdk?version=4.0';
You can also import the module with Typescript support using the global imports.gi
object of GJS.
For this you need to include @girs/gdk-4.0
or @girs/gdk-4.0/import
in your tsconfig
or entry point Typescript file:
index.ts
:
import '@girs/gdk-4.0'
tsconfig.json
:
{
"compilerOptions": {
...
},
"include": ["@girs/gdk-4.0"],
...
}
Now you have also type support for this, too:
const Gdk = imports.gi.Gdk;
Depending on your project configuration, it is recommended to use a bundler like esbuild. You can find examples using different bundlers here.
All existing pre-generated packages can be found on gjsify/types.
FAQs
GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0
The npm package @girs/gdk-4.0 receives a total of 261 weekly downloads. As such, @girs/gdk-4.0 popularity was classified as not popular.
We found that @girs/gdk-4.0 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.