little-cartoon-10569
03/22/2021, 10:57 PM"lib": "./lib", "test": "."
in my package.json, but I don't know what they're for or if they're right.npm run test --spec **/Si*.spec.ts
). If I use a slightly broader ant-expression that finds more than one file (npm run test --spec **/S*.spec.ts
) then everything is fine, even the tests in the file that previously didn't compileexpect(bucketUnderTest.bucket.serverSideEncryptionConfiguration!.rule.applyServerSideEncryptionByDefault.sseAlgorithm.promise()).to.eventually.contain("kms")
and it's complaining with this:
error TS2339: Property 'rule' does not exist on type 'Output<BucketServerSideEncryptionConfiguration | undefined>'.Property 'rule' does not exist on type 'OutputInstance<BucketServerSideEncryptionConfiguration | undefined>'.
Output<BucketServerSideEncryptionConfiguration | undefined>
so TypeScript / tslint has a rant.