Fix lint CI (#6567)

This commit is contained in:
somebody1234 2023-05-05 04:39:22 +10:00 committed by GitHub
parent 41a8257e8d
commit 0a8f80959f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -2,7 +2,7 @@
import * as semver from 'semver'
import * as linkedDist from '../../../../../target/ensogl-pack/linked-dist/index'
import * as linkedDist from '../../../../../target/ensogl-pack/linked-dist'
import BUILD_INFO from '../../../build.json' assert { type: 'json' }
// Aliases with the same name as the original.

View File

@ -2,6 +2,23 @@
*
* This file MUST NOT `export {}` for the modules to be visible to other files. */
declare module '*/build.json' {
interface BuildInfo {
commit: string
version: string
engineVersion: string
name: string
}
const BUILD_INFO: BuildInfo
export default BUILD_INFO
}
declare module '*/ensogl-pack/linked-dist' {
// eslint-disable-next-line no-restricted-syntax
export * from '../../../../lib/rust/ensogl/pack/js/src/runner/index'
}
declare module '*/gui/config.yaml' {
interface Config {
windowAppScopeName: string